/**
 *--------------------------------------------------------------------\n
 *          HSLU T&A Hochschule Luzern Technik+Architektur            \n
 *--------------------------------------------------------------------\n
 *
 * \brief         Driver for the analog digital converter
 * \file
 * \author        Domenico Colucci, domenico.colucci@stud.hslu.ch
 * \date          17.03.2012
 *
 * \b Language:   Ansi-C \n\n
 * \b Target:     Medusa-Trainer \n
 *
 *--------------------------------------------------------------------
 */

#ifndef ADC_H
#define ADC_H

#include <mc9s08gb60a.h>

#define WHITE 40
#define BLACK 110

int getDeviation(void);
int readAdc(byte channel);

#endif /* ADC_H_ */



